﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DiemTichLuyModels.Object
{
    public class LoaiSanPham
    {
        [Key]
        public int ID { get; set; }
        [Display(Name="Tên loại")]
        public string TenLoai { get; set; }

        [InverseProperty("LoaiSanPham")]
        public virtual ICollection<SanPham> SanPhams { get; set; }
    }
}
